package com.bum.rss;

import org.apache.log4j.Logger;

import com.asao.baseware.core.DefaultApplication;

public class Rsstarter {
	static Logger	log	= Logger.getLogger(Rsstarter.class);
	private static DefaultApplication	app;

	@SuppressWarnings("rawtypes")
	static void startApplication() {
		log.info("_/_/_/_/_/_/_/_/_/_/ Starting BUM Rss Application...");
		try {
			app = new DefaultApplication("config/application.cfg.xml");
			app.setPropertiesLocations(new String[] {
					"/config/application.properties"
			});
			app.start();
			log.info("_/_/_/_/_/_/_/_/_/_/ BUM Rss Application started!");
		} catch (Throwable e) {
			e.printStackTrace();
		}
	}

	public static void main(String[] args) {
		startApplication();
	}
}
